package com.qf.adminDao;

import com.qf.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author bss
 * @version V1.0
 * @Project maven
 * @Package com.qf.adminDao
 * @Description:
 * @Date 2022/10/4 16:34
 */
public interface AdminUserDao {
    User findByNameAndPwd(String username, String password);

    List<User> selectAllUser();

    void deleteUser(int id);

    List<User> findByNameAndGender(@Param("username") String username, @Param("gender") String gender);

    List<User> findInvalidUser();

}
